package com.example.pingze.dto;

import lombok.Data;

@Data
public class PoemAndPoetInfoDto {
    //id
    private String id;
    //作者
    private String writer;
    //朝代
    private String dynasty;
    //介绍
    private String simpleIntro;
    //古诗名称
    private String title;
    //类型
    private String types;
    //正文
    private String content;
    //注释
    private String remark;
    //翻译
    private String translations;
    //赏析
    private String appreciation;
    public PoemAndPoetInfoDto(String id,
                              String writer,
                              String dynasty,
                              String simpleIntro,
                              String title,
                              String type,
                              String content,
                              String remark,
                              String translation,
                              String appreciation) {
        this.id = id;
        this.writer = writer;
        this.dynasty = dynasty;
        this.simpleIntro = simpleIntro;
        this.title = title;
        this.types = type;
        this.content = content;
        this.remark = remark;
        this.translations = translation;
        this.appreciation = appreciation;
    }
}
